package com.baitengsoft.patentservicemonitor.api.service;

import com.baitengsoft.patentservicemonitor.api.entity.RptPatentDataAreaEntity;
import com.baitengsoft.patentservicemonitor.api.model.RptPatentDataAreaModel;
import com.baitengsoft.patentservicemonitor.api.model.param.RptPatentDataAreaParam;

/**
 * Created by 周俊 on 2017/12/14.
 */
public interface RptPatentDataAreaService {
    /**
     * 插入或更新一行数据
     * @param rptPatentDataAreaEntity
     */
    void addorUpdateRptPatentDataAreaInfo(RptPatentDataAreaEntity rptPatentDataAreaEntity);

    /**
     * 获取RptPatentDataArea表对应数据数量
     * @param AreaID 区域ID
     * @param DateYM 年月
     * @param PlatformID 所属平台ID
     */
    int getRptPatentDataAreaCount(Integer AreaID,Integer DateYM,Integer PlatformID);

    /**
     * 获取RptPatentDataArea表对应数据
     * @param AreaID 区域ID
     * @param DateYM 年月
     * @param PlatformID 所属平台ID
     */
    RptPatentDataAreaEntity queryRptPatentDataAreaByQuery(Integer AreaID,Integer DateYM,Integer PlatformID);
}
